package com.tuling.code.thread.exam01;

public class MainTest {
	public static void main(String[] args) {
		Num num = new Num();
		PrintJishu pJi = new PrintJishu(num);
		PrintOushu pOu = new PrintOushu(num);
		
		Thread tj = new Thread(pJi, "奇数线程");
		Thread to = new Thread(pOu, "偶数线程");
		
		tj.start();
		to.start();
	}
}
